import request from '@/utils/request'

// 查询委拍记录列表
export function listAxAuthorizationSell(query) {
  return request({
    url: '/ax/axAuthorizationSell/list',
    method: 'get',
    params: query
  })
}

// 查询委拍记录详细
export function getAxAuthorizationSell(id) {
  return request({
    url: '/ax/axAuthorizationSell/' + id,
    method: 'get'
  })
}

// 新增委拍记录
export function addAxAuthorizationSell(data) {
  return request({
    url: '/ax/axAuthorizationSell',
    method: 'post',
    data: data
  })
}

// 修改委拍记录
export function updateAxAuthorizationSell(data) {
  return request({
    url: '/ax/axAuthorizationSell',
    method: 'put',
    data: data
  })
}

// 删除委拍记录
export function delAxAuthorizationSell(id) {
  return request({
    url: '/ax/axAuthorizationSell/' + id,
    method: 'delete'
  })
}
